import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

public class Main {
    public static void main3(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 输入用户名
        System.out.print("请输入用户名: ");
        String username = scanner.nextLine();

        // 输入密码并检查长度
        String password;
        do {
            System.out.print("请输入6位密码: ");
            password = scanner.nextLine();
        } while (password.length() != 6);

        // 加密密码
        StringBuilder encryptedPasswordBuilder = new StringBuilder();
        for (int i = 0; i < password.length(); i++) {
            int digit = password.charAt(i) - '0';
            int newDigit = (digit + 5) % 10;
            encryptedPasswordBuilder.append(newDigit);
        }
        String encryptedPassword = encryptedPasswordBuilder.reverse().toString();

        // 将用户名和加密后的密码写入文件
        try (BufferedWriter writer = new BufferedWriter(new FileWriter("user.txt"))) {
            writer.write(username + " " + encryptedPassword);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        int year = sc.nextInt();
        if(year%4==0&&year%100!=0||year%400==0) {
            System.out.println(year+"是闰年");
        }
        else{
            System.out.println(year+"不是闰年");
        }
    }
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }
}